// samsting : this file is auto create.

#include "Alert/2015-08-15/ListDBMetricRequest.h"

namespace aliyun { namespace Alert {

ListDBMetricRequest::ListDBMetricRequest() : RoaAcsRequest("Alert", "2015-08-15", "ListDBMetric") {
  SetUriPattern("/projects/[ProjectName]/dbMetrics");
  SetMethod("GET");
}

const string& ListDBMetricRequest::GetProjectName(void) const {
  return ProjectName_;
}
void ListDBMetricRequest::SetProjectName(const string& ProjectName) {
  ProjectName_ = ProjectName;
  PutPathParameter("Path", ProjectName_);
}

const string& ListDBMetricRequest::GetMetricName(void) const {
  return MetricName_;
}
void ListDBMetricRequest::SetMetricName(const string& MetricName) {
  MetricName_ = MetricName;
  PutPathParameter("Query", MetricName_);
}

int ListDBMetricRequest::GetPage(void) const {
  return Page_;
}
void ListDBMetricRequest::SetPage(int Page) {
  Page_ = Page;
  PutPathParameter("Query", string_ValueOfInt(Page_));
}

int ListDBMetricRequest::GetPageSize(void) const {
  return PageSize_;
}
void ListDBMetricRequest::SetPageSize(int PageSize) {
  PageSize_ = PageSize;
  PutPathParameter("Query", string_ValueOfInt(PageSize_));
}


} } // namespace aliyun { namespace Alert {

// end of file 
